import http from "@/utils/request";
export function login(data:any){
    return http.request({
        url:`/glacier-user/login`,
        method:'post',
        data
    })
}

// export function login(params: any) {
//     return http.request({
//         url: `/glacier-user/login`,
//         method: 'get',
//         params
//     })
// }

export function register(data: any) {
    return http.request({
        url: `/glacier-user/register`,
        method: 'post',
        data
    })
}
